package org.finesys.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.finesys.common.mp.core.mapper.BaseMapper;
import org.finesys.system.api.entity.SysMenu;

import java.util.Set;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    /**
     * 通过角色编号查询菜单
     *
     * @param roleId 角色ID
     * @return
     */
    Set<SysMenu> findMenusByRoleId(@Param("roleId") Long roleId);


}
